Crate cookie_factory [−] [src]
Cookie factory
cookie-factory
serialization library built on the same design as nom.
Highly experimental, don't use it if you're afraid of rewriting all your code
Macros
do_gen |
Applies sub-generators in a sequence. |
gen_align |
|
gen_at_offset |
|
gen_at_rel_offset |
|
gen_be_f32 |
|
gen_be_f64 |
|
gen_be_i8 |
|
gen_be_i16 |
|
gen_be_i24 |
|
gen_be_i32 |
|
gen_be_i64 |
|
gen_be_u8 |
|
gen_be_u16 |
|
gen_be_u24 |
|
gen_be_u32 |
|
gen_be_u64 |
|
gen_call |
Used to wrap common expressions and function as macros |
gen_cond |
|
gen_copy |
|
gen_if_else |
|
gen_le_f32 |
|
gen_le_f64 |
|
gen_le_i8 |
|
gen_le_i16 |
|
gen_le_i24 |
|
gen_le_i32 |
|
gen_le_i64 |
|
gen_le_u8 |
|
gen_le_u16 |
|
gen_le_u24 |
|
gen_le_u32 |
|
gen_le_u64 |
|
gen_length_slice | |
gen_many |
|
gen_many_byref |
|
gen_many_ref |
|
gen_skip |
|
gen_slice |
|
Enums
GenError |
Base type for generator errors |
Functions
set_be_u8 |
Write an unsigned 1 byte integer. Equivalent to |
set_be_u16 |
Write an unsigned 2 bytes integer (big-endian order). Equivalent to |
set_be_u32 |
Write an unsigned 4 bytes integer (big-endian order). Equivalent to |
set_be_u64 |
Write an unsigned 8 bytes integer (big-endian order). Equivalent to |
set_le_u8 |
Write an unsigned 1 byte integer. Equivalent to |
set_le_u16 |
Write an unsigned 2 bytes integer (little-endian order). Equivalent to |
set_le_u32 |
Write an unsigned 4 bytes integer (little-endian order). Equivalent to |
set_le_u64 |
Write an unsigned 8 bytes integer (little-endian order). Equivalent to |